﻿using AiQiuQuan.Sport.Model.Enums;

namespace AiQiuQuan.Sport.Model.Models
{
    /// <summary>
    /// 水平比赛积分规则
    /// </summary>
    public class GameTennisLevelPointRuleDetail
    {
        /// <summary>
        /// 项目类型：1单打、2双打
        /// </summary>
        public GameVersusEnum VersusType { get; set; }

        /// <summary>
        /// 水平,对应比赛水平选项
        /// 0:无限
        /// 单打：2.5,3.5,4.5,5.5,0
        /// 双打：5.0,7.0,9.0,11,0
        /// </summary>
        public decimal Level { get; set; }

        /// <summary>
        /// 倍数
        /// </summary>
        public int Times { get; set; }
    }

    /// <summary>
    /// 年龄比赛积分规则
    /// </summary>
    public class GameAgePointRuleDetail
    {
        /// <summary>
        /// 年龄，对应比赛年龄选项：8，10，13，15，18
        /// </summary>
        public int Age { get; set; }

        /// <summary>
        /// 倍数
        /// </summary>
        public int Times { get; set; }
    }

    /// <summary>
    /// 团体比赛积分规则
    /// </summary>
    public class GameTeamPointRuleDetail
    {
        /// <summary>
        /// 团体项目类型
        /// </summary>
        public GameVersusEnum VersusType { get; set; }

        /// <summary>
        /// 倍数
        /// </summary>
        public int Times { get; set; }
    }
}
